﻿namespace Chain.Wechat
{
    using System;
    using System.Runtime.CompilerServices;
    using System.Xml;

    public class VideoRequest : IRequest
    {
        
        private string _MediaId;
        
        private string _MsgId;
        
        private string _ThumbMediaId;

        public VideoRequest(XmlDocument input) : base(input)
        {
            XmlNode root = base.XmlDoc.FirstChild;
            this.MediaId = root["MediaId"].InnerText;
            this.ThumbMediaId = root["ThumbMediaId"].InnerText;
            this.MsgId = root["MsgId"].InnerText;
        }

        public string MediaId
        {
            
            get
            {
                return this._MediaId;
            }
            
            set
            {
                this._MediaId = value;
            }
        }

        public string MsgId
        {
            
            get
            {
                return this._MsgId;
            }
            
            set
            {
                this._MsgId = value;
            }
        }

        public string ThumbMediaId
        {
            
            get
            {
                return this._ThumbMediaId;
            }
            
            set
            {
                this._ThumbMediaId = value;
            }
        }
    }
}

